#include <iostream>
#include <string>

int main() {
    std::string str1 = "hello";
    std::string str2 = str1;

    std::cout << "str1 address: " << &str1 << std::endl;
    std::cout << "str2 address: " << &str2 << std::endl;
    std::cout << "str1 data address: " << static_cast<const void*>(str1.c_str()) << std::endl;
    std::cout << "str2 data address: " << static_cast<const void*>(str2.c_str()) << std::endl;

    return 0;
}
